home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-ARM / ARCH-ARC / DMA.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  676b  |  36 lines

  1. /*
  2.  * linux/include/asm-arm/arch-arc/dma.h
  3.  *
  4.  * Copyright (C) 1996-1998 Russell King
  5.  *
  6.  * Acorn Archimedes/A5000 architecture virtual DMA
  7.  * implementation
  8.  *
  9.  * Modifications:
  10.  *  04-04-1998    RMK    Merged arc and a5k versions
  11.  */
  12. #ifndef __ASM_ARCH_DMA_H
  13. #define __ASM_ARCH_DMA_H
  14.  
  15. #include <linux/config.h>
  16.  
  17. #define MAX_DMA_ADDRESS        0x03000000
  18.  
  19. #ifdef CONFIG_ARCH_ARC
  20. #define MAX_DMA_CHANNELS    3
  21.  
  22. #define DMA_VIRTUAL_FLOPPY0    0
  23. #define DMA_VIRTUAL_FLOPPY1    1
  24. #define DMA_VIRTUAL_SOUND    2
  25. #endif
  26.  
  27. #ifdef CONFIG_ARCH_A5K
  28. #define MAX_DMA_CHANNELS    2
  29.  
  30. #define DMA_VIRTUAL_FLOPPY    0
  31. #define DMA_VIRTUAL_SOUND    1
  32. #define DMA_FLOPPY        DMA_VIRTUAL_FLOPPY
  33. #endif
  34.  
  35. #endif /* _ASM_ARCH_DMA_H */
  36.